#pragma once
#include "stdmzfc.h"
#include <SettingApi.h>

#include <string>
#include <vector>
#include <deque>
#include <map>
#include <iostream>
#include <iomanip>
#include <sstream>
#include "../loglib/CommLog.h"
#include "../cfglib/Cfg.h"
#include <math.h>

using namespace std;

typedef struct _RawBTDevice
{
    wstring     m_sName;
    BT_ADDR     m_hAddr;
} RawBTDevice, *PRawBTDevice;

typedef struct _COMPort
{
    wstring     m_sCOMName;     //COMx
    int         m_nCOMIndex;    //x
} COMPort, *PCOMPort;


#define BTCOM_CAPTION_HEIGHT        80
#define BTCOM_TOOLBAR_HEIGHT        MZM_HEIGHT_TEXT_TOOLBAR
#define BTCOM_LIST_HEIGHT           80
#define BTCOM_PROPNAME_WIDTH        120
#define BTCOM_LIST_MARGIN           24
#define BTCOM_EDIT_MARGIN           10

#define DEFAULT_TEXT_SIZE           27



